package entityBeans;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("Entreprise")
public class Entreprise extends Contact {
	
	public Entreprise(String firstName, String secondName, String email, String numSiret) {
		super(firstName, secondName, email);
		this.setNumSiret(numSiret);
	}
	
	public Entreprise(){
		
	}

	private String numSiret;

	public String getNumSiret() {
		return numSiret;
	}

	public void setNumSiret(String numSiret) {
		this.numSiret = numSiret;
	}
	
	
}
